<extend name="desktop_default/template/base_index2" />

<block name="area_header">

	<style type="text/css">
		body{background: #F5F5F5}

	</style>
</block>

<block name="area_body">
	<include file="desktop_default/width/right" />
	<include file="desktop_default/width/top"/>
	<div class="container">
		{:W('Partials/nav_group')}
	</div><br>

    <include file="desktop_default/partial/usercenter_top"/>

    <div class="div_main shop-container am-cf">
        <div class="div_left" >
            <include file="desktop_default/width/list"/>
        </div>
        <div class="div_right" >
			<font size="5">我的分销</font><hr>
			<span>可用余额：<font size="6" id="coin" color="orangered">{$wallet.account_balance}</font>元</span>
			<span style="margin-left: 30px;">冻结金额：<font size="6" color="orangered">{$wallet.frozen_funds}</font>元</span>
			<div style="float: right; margin-top: 20px;">
				优惠ID码：<font size="5" color="orangered">{$user['idcode']}</font>
			</div>
			<hr>
			<div >
				<empty name="jilu">
					<h1 style="margin-left: 40%; margin-top: 20px;">暂无返佣记录</h1>
					<else/>
					<table width="100%" class="am-table am-table-bordered am-table-bordered ">

						<tr class="bt">
							<td width="36px"  class="am-text-center">序号</td>
							<td width="20%" class=" am-text-right">变更金额(元)</td>
							<td width="120px"  class="am-text-center">变更类型</td>
                            <td width="20%"  class="am-text-center">变更时间</td>
							<td width="30%"  class="am-text-center">备注</td>
						</tr>
						<volist name="jilu" id="vo">
						<tr class="jl" style="border-bottom: 1px solid #F5F5F5;">
							<td  class="am-text-center">{:($key+1)}</td>
							<td  class=" am-text-right"><font color="green">+{$vo.plus}</font></td>
							<td class="am-text-center">
                                {$type_name}
							</td>
							<td >{$vo.create_time|date='Y-m-d H:i:s',###}</td>
                            <td >{$vo.reason}</td>
						</tr>
						</volist>
					</table>
				
					
				</empty>
			</div>
		</div>	
	</div>
	 <include file="desktop_default/width/floor" />
	<hr  style="border: none; clear:both"/>
</block>

<block name="area_footer">
<script type="text/javascript">
		
</script>
</block>